package org.ichow.scenegame.events
{
	import flash.events.Event;

	/**
	 * ...
	 * @author M.ichow
	 */
	public class NotiEvent extends Event
	{
		public static const INIT : String = "init";
		public static const READY : String = "ready";
		public static const PLAY : String = "play";
		public static const CONTINUE : String = "continue";
		public static const END : String = "end";
		public static const NOTI_CHANGE:String = "notiChange";
		
		public static const ADD_NOTI:String = "addNoti";
		public static const SHOW_NOTI:String = "showNoti";
		
		public static const SELECT_ITEM:String = "selectItem";
		public static const TOOLTIP:String = "tooltip";
		public static const RESTART:String = "restart";
		
		public var data:Object;
		
		public var status:String;

		public function NotiEvent( type : String , theData : Object = null , bubbles : Boolean = false , cancelable : Boolean = false )
		{
			super( type , bubbles , cancelable );
			data = theData;
		}
		
		override public function clone():Event 
		{
			var e:NotiEvent = new NotiEvent( type , data , bubbles , cancelable );
			e.status = status;
			return e;
		}

	}

}